$--color-primary: #1b51d9 !default;
// $--color-primary: #050505 !default;
$--color-primary-hover: #3066ec !default;
/// color|1|Functional Color|1
$--color-success: #18c37a !default;
/// color|1|Functional Color|1
$--color-warning: #ffa924 !default;
/// color|1|Functional Color|1
$--color-danger: #e02e2e !default;
/// color|1|Functional Color|1
$--color-info: #89898d !default;
$--color-black: #000 !default;
$--standard-box-color: rgba(22, 70, 175, 0.07);

@mixin currencyBlock(
  $symbol-font-size: 10px,
  $amount-font-size: 20px,
  $currency-font-size: 10px,
  $symbol-font-color: #99a,
  $amount-font-color: #000,
  $currency-font-color: #99a
) {
  .eq_stnd_currency {
    gap: 4px;
    display: flex;
    align-items: baseline;
    flex-direction: row;

    .eq_smbl {
      display: flex;
      font-size: $symbol-font-size;
      line-height: $symbol-font-size;
      color: $symbol-font-color;
    }

    .eq_amt {
      display: flex;
      font-weight: bold;
      font-size: $amount-font-size;
      line-height: $amount-font-size;
      color: $amount-font-color;
    }

    .eq_cucy {
      display: flex;
      line-height: $currency-font-size;
      font-size: $currency-font-size;
      color: $currency-font-color;
    }
  }
}

@mixin standardLabelStyle(
  $font-size: 12px,
  $background: linear-gradient(to right bottom, #fdb283, #fffe7b),
  $padding: 0 8px,
  $font-color: rgba(0, 0, 0, .5),
  $box-shadow: 0 1px 2px rgba(0, 0, 0, .2),
  $border-radius: 4px,
) {
  border-radius: $border-radius;
  font-weight: bold;
  display: inline-block;
  padding: $padding;
  background: $background;
  font-size: $font-size;
  color: $font-color;
  box-shadow: $box-shadow;
}

/* GLOBAL CSS PART */
.eq_tbhd_txf_00 {
  display: inline-flex;
  flex-direction: column;
}

.eq_tbhd_txf_01 {
  font-size: 10px;
  color: $--color-info;
  font-weight: normal;
}

.eq_tbhd_txf_02 {
  color: $--color-black;
  font-size: 14px;
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.eq_tbhd_txf_03 {
  display: flex;
  align-items: center;
  color: $--color-info;
  font-size: 12px;
}

.eq_tbhd_txf_03.rt {
  justify-content: flex-end
}

.eq_tbhd_txf_04 {
  font-size: 10px;
  margin-left: 4px;
  margin-right: 4px;
}

.eq_tbhd_txf_05 {
  margin: 0 2px;
  color: #bbb
}

.eq_container {
  padding: 0;

  @media (max-width: 768px) {
    padding: 20px 10px;
  }
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.blank_skeleton {
  background: #FFF;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  margin-bottom: 10px;
}


.eq_unit_board {
  background: #FFF;
  padding: 15px;
  margin-bottom: 15px;

  @media (max-width: 768px) {
    padding: 10px;
    margin-bottom: 10px;
  }

  & ._m_title {
    font-size: 16px;
    border-left: 2px solid $--color-primary;
    padding-left: 13px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media (max-width: 768px) {
      margin-bottom: 10px;
    }

    & .txt_b {
      font-size: 12px;
      color: $--color-primary;
      display: inline-flex;
    }
  }
}

.eq_dashboard {
  &_container {

    &_row {
      margin-bottom: 15px;

      & .eq_tt {
        font-size: 24px;
        height: 30px;
        font-weight: bold;
        margin-bottom: 25px;
        align-items: center;
        display: flex;
        justify-content: space-between;

        @media (max-width: 768px) {
          margin-bottom: 15px;
        }
      }

      & .eq_bd {
        & .eq_803 {
          padding: 20px;
          background: #fff;
          margin-bottom: 5px;
        }

        & .eq_bd_itm {
          cursor: pointer;
          display: flex;
          background: #FFF;
          flex-direction: column;
          margin-bottom: 10px;
          border-radius: 8px;
          overflow: hidden;
          //box-shadow: 0 2px 6px $--standard-box-color;
          //border: 3px solid #fff;
          justify-content: space-between;
          transition: all .3s;

          &:hover {
            box-shadow: 0 4px 12px rgba(22, 70, 175, 0.12);
          }

          & .eq_amt {
            transition: all .3s;
          }

          &:hover .eq_amt {
            color: $--color-primary;
          }

          & .upp, & .downp {
            display: flex;
            width: 100%;
            flex-direction: column;
          }

          & .downp {
            padding: 5px 10px;
            flex-direction: row;
            justify-content: space-between;
            font-size: 12px;
            align-items: center;
            border-top: 1px solid rgba(0, 0, 0, .1);
          }

          &.gold ._stt {
            background: linear-gradient(to right, #f6e5c1, transparent);
          }

          &.silver ._stt {
            background: linear-gradient(to right, #e1e2e4, transparent);
          }

          &.bronze ._stt {
            background: linear-gradient(to right, #e7cec1, transparent);
          }

          &.gold .badge_dm {
            background: linear-gradient(to right bottom, #ffecad, #fdc275);
          }

          &.silver .badge_dm {
            background: linear-gradient(to right bottom, #f5f5f5, #bbb);
          }

          &.bronze .badge_dm {
            background: linear-gradient(to right bottom, #f6b285, #e7a56c);
          }

          & ._stt {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: row;
            width: 100%;
            height: 40px;
            padding: 0 10px;
            //background: #F3F4F6;

            & .g_lt {
              display: flex;
              font-weight: bold;
              align-items: center;
              text-transform: uppercase;

              & .badge_dm {
                display: inline-flex;
                width: 20px;
                height: 20px;
                align-items: center;
                border-radius: 100px;
                font-size: 12px;
                //color: #fff;
                color: rgba(0, 0, 0, .5);
                text-shadow: 0 1px 0px rgba(255, 255, 255, .5);
                margin-right: 5px;
                justify-content: center;
                border: 2px solid #FFF;
              }
            }

            & .g_rt {
              display: flex;
              font-size: 12px;
              font-weight: normal;
              color: rgba(0, 0, 0, .75);
              border-radius: 4px;
            }
          }
        }

        & .eq_tt_asetlab {
          @include standardLabelStyle($padding: 2px 5px, $background: linear-gradient(to right, #8ab3dc, #8471b0), $box-shadow: none, $font-color: #FFF);
          text-shadow: 0 2px 2px rgba(0, 0, 0, .2);
          display: flex;

        }
      }
    }
  }
}

.nom-tbl {
  font-size: 14px;
  width: 100%;
  border: 1px solid #e1e9f6;
  border-collapse: collapse;

  & td {
    border: 1px solid #e1e9f6;
    vertical-align: top;
  }

  & .rtc, & .ltc {
    padding: 15px 15px;
  }

  & .ltc {
    width: 150px;
    color: #666;
    background: #f4f7fc;
    width: 20%;
  }

  & .rtc {
    color: #000;
    /*font-weight: bold;*/
    width: 30%;
  }
}

.eqs_form {
  & .eqs_form_row {
    & .eqs_form_label {
      color: $--color-info;
      font-size: 13px;
    }

    & .eqs_form_txt {
      color: $--color-black;
      font-size: 14px;
    }

    & .eqs_form_label, & .eqs_form_txt {
      line-height: 32px;
    }
  }
}


.tny-4c30 {
  color: $--color-primary;
  cursor: pointer;
}
.xq-lnk {
  cursor: pointer;
}
.xq-lnk .eq_tbhd_txf_02 {
  color: $--color-primary;
}
